package cn.mill.demo.postcode;

import java.util.List;

import cn.mill.common.HttpMethod;
import cn.mill.common.annotation.HttpDefine;
import cn.mill.common.annotation.MethodMapping;
import cn.mill.common.annotation.ServiceDefine;

@ServiceDefine(name = "postcode", node = "postcode", protocol = "http", strategy = "json")
public interface PostCodeHandler {
	
	@HttpDefine(method = HttpMethod.GET)
	@MethodMapping(value = "/postcode/{province}/{city}?pages={pages}", tip = "获取邮政编码信息")
	public List<PostCode> getPostCode(Param param);
}
